import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';
import { BrowserRouter as Router, Route, Link , NavLink } from "react-router-dom";
import Dashboard from './dashboard/Dashboard' ;
import SignIn from './sign-in/SignIn' ;

const Index = () => <h2>Index</h2> ;
const About = () => <h2>About</h2> ;
const Users = () => <h2>Users</h2> ;

class App extends Component {
  render() {
    return (
        <Router>

            <div className="App">

                <Route path="/" exact component={Dashboard} />
                <Route path="/signin/" component={SignIn} />
                <Route path="/users/" component={Users} / >

              </div>
        </Router>
    );
  }
}

export default App;
